#ifndef AUDIOSTREAMIMPL_H
#define AUDIOSTREAMIMPL_H
#include "streamabstract.h"
#include "timersynchabstract.h"
class AudioDecodeImpl;
class AudioAbstract;
class AudioStreamImpl : public StreamAbstract ,public TimerSynchAbstract
{
public:
    AudioStreamImpl(AVStream *,AudioAbstract *);
    virtual ~AudioStreamImpl();
public:
    int  GetDecodeAudio(char *data,int len);
    bool is_init();
public:
    virtual bool    Init();
    virtual bool    UnInit();
    virtual bool    receive_handler(const char *data,int size);
    virtual double  time_stamp();
private:
    AudioDecodeImpl *m_oAudioDecodeImpl;
    bool     bInit;
};

#endif // AUDIOSTREAMIMPL_H
